package com.ww.scm.web;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("User")
public class User {
	


	private String id;
	private String name;
	private String sex;
	
	private Role roles;
	
	private List<Pots> posts=new ArrayList<Pots>(); 

	public User() {

	}

	public User(String id, String name, String sex) {
		this.id = id;
		this.name = name;
		this.sex = sex;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Role getRoles() {
		return roles;
	}

	public void setRole(Role roles) {
		this.roles = roles;
	}

	public List<Pots> getPosts() {
		return posts;
	}

	public void setPosts(List<Pots> posts) {
		this.posts = posts;
	}

}
